package com.kuaimacode.kframework.mybatis.models.index;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigInteger;
import java.util.Date;

@Data
@TableName("bootstrap_img")
public class BootstrapImg {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "类型 0 广告页 1 引导页")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "备注")
    @TableField("notes")
    private String notes;

    @ApiModelProperty(value = "0 使用中 1 停用")
    @TableField("status")
    private String status;


    @ApiModelProperty(value = "图片url")
    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_at")
    private Date createAt;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_at")
    private Date updateAt;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Long updateBy;


    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private Long createBy;


}